System and method for sharing san storage

ABSTRACT

According to various embodiments, systems and methods are provided that relate to shared access to Storage Area Networks (SAN) devices. In one embodiment, a Storage Area Network (SAN) host is provided, comprising: a server component: a first host bus adapter configured to be connected to a SAN client over a first SAN; a second host bus adapter configured to be connected to a SAN storage device over a second SAN; and wherein the server component is configured to manage a data block on the SAN storage device, receive a storage operation request from the SAN client through the first host bus adapter, and in response to the storage operation request, perform a storage operation on the data block, the storage operation being performed over the second SAN through the second host bus adapter.

INCORPORATION BY REFERENCE TO ANY PRIORITY APPLICATIONS

Any and all priority claims identified in the Application Data Sheet, or any correction thereto, are hereby incorporated by reference under 37 CFR 1.57. This application is a continuation of U.S. patent application Ser. No. 14/675,418, filed Mar. 31, 2015, entitled “SYSTEM AND METHOD FOR SHARING SAN STORAGE,” which is a divisional of U.S. patent application Ser. No. 13/010,694, filed Jan. 20, 2011, entitled “SYSTEM AND METHOD FOR SHARING SAN STORAGE.” The disclosures of each of the foregoing applications are incorporated by reference herein in their entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention generally relates to data storage, and more particularly, some embodiments relate to Storage Area Network (SAN) systems and methods.

2. Description of the Related Art

The storage and retrieval of data is an age-old art that has evolved as methods for processing and using data have evolved. In the early 18th century, Basile Bouchon is purported to have used a perforated paper loop to store patterns used for printing cloth. In the mechanical arts, similar technology in the form of punch cards and punch tape were used in the 18th century in textile mills to control mechanized looms. Two centuries later, early computers also used punch cards and paper punch tape to store data and to input programs.

However, punch cards were not the only storage mechanism available in the mid 20th century. Drum memory was widely used in the 1950s and 1960s with capacities approaching about 10 kb, and the first hard drive was developed in the 1950s and is reported to have used 50 24-inch discs to achieve a total capacity of almost 5 MB. These were large and costly systems and although punch cards were inconvenient, their lower cost contributed to their longevity as a viable alternative.

In 1980, the hard drive broke the 1 GB capacity mark with the introduction of the IBM 3380, which could store more than two gigabytes of data. The IBM 3380, however, was about as large as a refrigerator, weighed ¼ ton, and cost between approximately $97,000 to $142,000, depending on features selected. In contrast, contemporary storage systems now provide storage for hundreds of terabytes of data, or more, for seemingly instantaneous access by networked devices. Even handheld electronic devices such as digital cameras, MP3 players and others are capable of storing gigabytes of data, and modern desktop computers boast gigabytes or terabytes of storage capacity.

With the advent of networked computing, storage of electronic data has also expanded from the individual computer to network-accessible storage devices. These include, for example, optical libraries, Redundant Arrays of Inexpensive Disks (RAID), CD-ROM jukeboxes, drive pools and other mass storage technologies. These storage devices are accessible to and can be shared by individual computers using such traditional networks as Local Area Networks (LANs) and Wide Area Networks (WANs), or using Storage Area Networks (SANs). These client computers not only access their own local storage devices but also network storage devices to perform backups, transaction processing, file sharing, and other storage-related operations.

Network bandwidth is limited and can be overloaded by volumes of data stored and shared by networked devices. During operations such as system backups, transaction processing, file copying and transfer, and other similar operations, the network communication bandwidth often becomes the rate-limiting factor.

SANs, in particular, are networks designed to facilitate transport of data to and from network storage devices, while addressing the bandwidth issues caused by large volumes of data stored and shared on the network storage devices. Specifically, SANs are network architectures that comprise a network of storage devices that are generally not accessible by nodes on a traditional network (e.g., LAN or WAN). As such, a SAN implementation usually requires two networks. The first network is a traditional network, such as a LAN, designed to transport ordinary traffic between individual network computers (i.e., nodes). The second network is the SAN itself, which is accessible by individual computers through the SAN but not through the traditional network. Typically, once a SAN storage device (also referred to as a SAN storage node) is remotely attached to an individual computer over a SAN, it appears and functions much like a locally attached storage device (as opposed to appearing and functioning as a network drive).

By utilizing a SAN as a separate network for storage devices that perform bandwidth-intensive operations (e.g., backups, transaction processing, and the like), the SAN storage devices realize improved bandwidth among themselves and with traditional computers attached to the SAN. Additionally, when storage devices and traditional nodes communicate over the SAN, more bandwidth-intensive operations are performed over the SAN rather than a LAN, leaving the LAN to handle only the ordinary data traffic.

FIG. 1 illustrates an example of a traditional SAN implementation 10. There are multiple client nodes 15, 18, and 21 networked together using a LAN 1 which allows communication of ordinary data traffic between the nodes (15, 18, 21). Storage devices 12 are connected together through SAN 13, which provides high bandwidth network capacity for bandwidth-intensive data operations to and from the storage devices 12. As illustrated, client nodes 18 and 21 are also connected to SAN 13, allowing them high bandwidth data access to the storage devices 12. As discussed above, by utilizing the SAN to perform high bandwidth data access, the client nodes are not only moving bandwidth-intensive data operations from the LAN 19 to the SAN 13, but also accessing the data at higher data rates than are typically available on a traditional network such as LAN. Typically, SANs utilize high bandwidth network technologies, such as Fiber Channel (FC), InfiniBand, Internet Small Computer System Interface (iSCSI), HyperSCSI, and Serial Attached SCSI (SAS), which are not commonly utilized in traditional networks such as LANs.

SUMMARY OF THE INVENTION

Various embodiments of the invention relate to shared access to Storage Area Networks (SAN) storage devices, such as disk arrays, tape libraries, or optical jukeboxes. Embodiments of the present invention allow for managed, shared access to SAN storage devices while ensuring that data to and from SAN storage devices traverses over the SAN, and not traditional networks such as LANs or WANs. Embodiments of the present invention can also provide traditional client nodes with dynamic/on-demand provisioning of storage on SAN storage devices, and with concurrent read/write access to SAN storage devices.

In one embodiment, a Storage Area Network (SAN) host is provided, comprising: a server component; a first host bus adapter configured to be connected to a SAN client over a first SAN; a second host bus adapter configured to be connected to a SAN storage device over a second SAN; and wherein the server component is configured to manage a data block on the SAN storage device, provide the SAN client with block access to the data block on the SAN storage device, receive a storage operation request from the SAN client through the first host bus adapter, and in response to the storage operation request, perform a storage operation on the data block, the storage operation being performed over the second SAN through the second host bus adapter. By providing the block access to the SAN storage device, the SAN host can appear to the SAN client as a locally attached storage device. The SAN client may then access data made available from the SAN storage device by the SAN host as if the SAN client has direct disk access to the SAN storage device.

For some embodiments, the first host bus adapter is configured to provide the SAN client with block access to data on the SAN storage device through the first host bus adapter, while the second host bus adapter is configured to provide the SAN host with block access to data on the SAN storage device through the second host bus adapter.

In some embodiments, the first host bus adapter connects to the SAN client through the first host bus adapter using Fiber Channel (FC), InfiniBand, or Serial Attached SCSI (SAS). In additional embodiments, the second host bus adapter connects to the SAN storage device through the second host bus adapter using Fiber Channel (FC), InfiniBand, or Serial Attached SCSI (SAS). Additionally, in some embodiments, the first host bus adapter may be in target mode, so that the host bus adapter may operate as a server of data, while the second host bus adapter may be in initiator mode, so that the second host bus adapter may operate as a client of data.

In further embodiments, the server component is configured to manage shared access to one or more SAN storage devices. This shared access management may be performed by way of a data repository that the server component utilizes to track and maintain one or more SAN storage devices within a pool of storage resources. As this tracking and maintenance may involve managing blocks of data within the pool of storage resources, in the some embodiments the repository is utilized to manage the blocks of data on one or more SAN storage devices. Additionally, the server component may use the data repository to provision and determine allocation of storage space within the pool to a client node. Further, the server component may be configured to perform dynamic/on-demand provisioning of storage space on the SAN storage device for the SAN client as requested.

In some embodiments, the SAN storage device comprises a plurality of SAN storage devices managed by the server component as a pool of storage resources. In some such embodiments, the server component is further configured to add a new SAN storage device to the pool when the new SAN storage device is added to the second SAN.

In further embodiments, the server component may be further configured to perform data de-duplication on the SAN storage device while performing a storage operation.

By managing shared access, the server component is able to operate as an arbitrator of storage operation requests it receives. As such, in some embodiments, the server component determine whether the storage operation request is performed as the storage operation, and when the storage operation request is performed as the storage operation. This determination, for example, may be performed based on one or more settings and parameters stored on the SAN host system. Depending on the embodiment, the settings and parameters may be stored in and retrieved from a data repository accessible to the server component.

Additionally, the server component may configured to provide a plurality of SAN clients with concurrent access to the SAN storage. As such, the server component may be configured to arbitrate between a plurality of storage operation requests when they are received, either from a single SAN client or from multiple SAN clients.

Depending on the embodiment, the first storage operation or the second storage operation may be a file read, a file write, a file create, or a file delete operation. Depending on the embodiment, the first storage operation may be a discovery request to the system.

In additional embodiments, a Storage Area Network (SAN) client is provided, comprising: a client component; a host bus adapter configured to be connected to a SAN host over a first SAN; wherein the client component is configured to receive from the SAN client a request to perform a first storage operation on a SAN storage device, translate the first storage operation to a SAN host storage operation request, and send the SAN host storage operation request to the SAN host over the first SAN, the SAN host being configured to receive the storage operation request, and in response to the storage operation request, perform a second storage operation on the SAN storage device over a second SAN. The host bus adapter of the SAN client may be set to initiator mode. In some such embodiments, the client component receives the request to perform first storage operation through an application program interface (API) function call.

In some embodiments, a method for a Storage Area Network (SAN) host is provided, comprising: receiving from a SAN client a request to perform a first storage operation on a SAN storage device, wherein the request is received over a first SAN through a first host bus adapter; and in response to the request, performing a second storage operation on the SAN storage device, wherein the second storage operation is performed over a second SAN through a second host bus adapter. In some such embodiments, the method further comprises: arbitrating between a plurality of storage operation requests. In additional such embodiments, the method further comprises: detecting a new SAN device on the second SAN; and adding the new SAN storage to a pool of storage resources. In other such embodiments, the method further comprises: receiving a discovery request from the SAN client; and transmitting a discovery response to the SAN client, wherein the discovery response represents the SAN host as a traditional SAN storage device.

In yet further embodiments, a Storage Area Network (SAN) system is provided, the system comprising a SAN host in accordance with an embodiment of the present invention, and a SAN client in accordance with an embodiment of the present invention. Other features and aspects of the invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, which illustrate, by way of example, the features in accordance with embodiments of the invention. The summary is not intended to limit the scope of the invention, which is defined solely by the claims attached hereto.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention, in accordance with one or more various embodiments, is described in detail with reference to the following Figure. The drawings are provided for purposes of illustration only and merely depict typical or example embodiments of the invention. These drawings are provided to facilitate the reader's understanding of the invention and shall not be considered limiting of the breadth, scope, or applicability of the invention. It should be noted that for clarity and ease of illustration these drawings are not necessarily made to scale.

FIG. 1 is a diagram illustrating an example traditional Storage Area Network (SAN).

FIG. 2 is a diagram illustrating example of data storage algorithms and architectures that can be used in conjunction with the systems and methods in accordance with embodiments of the present invention.

FIG. 3 is a diagram illustrating an example SAN in accordance with one embodiment of the present invention.

FIG. 4 is a diagram illustrating an example sequence of interactions between entities of a SAN in accordance with one embodiment of the present invention.

FIGS. 5A and 5B are flowcharts of example methods in accordance with embodiments of the present invention.

FIG. 6 is a diagram illustrating an example computing system with which aspects of the systems and methods described herein can be implemented in accordance with one embodiment of the present invention.

The Figures are not intended to be exhaustive or to limit the invention to the precise form disclosed. It should be understood that the invention can be practiced with modification and alteration, and that the invention be limited only by the claims and the equivalents thereof.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

The present invention relates to Storage Area Networks (SANs) and, more particularly, shared access to Storage Area Network (SAN) storage devices. Particular embodiments of the present invention allow for managed, shared access to SAN storage devices. Some such embodiments ensure that data to and from SAN storage devices traverses over the SAN, and remains off traditional networks such as LANs or WANs. Further embodiments can provide traditional client nodes with dynamic/on-demand provisioning of storage on SAN storage devices, while providing concurrent read/write access to SAN storage devices.

Depending on the embodiment, the shared and concurrent access may comprise simultaneous access to the same block of data, the same file, the same SAN storage device, or the same allocation of located on SAN storage device or within a pool of SAN storage devices (i.e., storage resources). In some embodiments, the shared and concurrent access may be implemented by way of a queue that is maintained and controlled by the server component. In further embodiments, the concurrent access may be implemented by way priority framework, whereby a first SAN client having higher priority access than a second SAN client may preempt data access from that second SAN client, or preempt the second SAN position in a queue.

Before describing the invention in detail, it is useful to describe a few example environments with which the invention can be implemented. The systems and methods described herein can be implemented using a number of different storage architectures. One such exemplary storage architecture is described with reference to Figure

Turning now to Figure the example storage operation cell 50 shown in FIG. 2 may performs storage operations on electronic data such as that in a computer network. As shown in this example, storage operation cell 50 may generally include a storage manager 100, a data agent 95, a media agent 105, and a storage device 115. The storage operation cell 50 may also include components such as a client 85, a data or information store 90, databases 110 and 111, jobs agent 120, an interface module 125, and a management agent 130. Each media agent 105 may control one or Input/Output (I/O) devices such as a Host Bus Adaptor (HBA) or other communications link for transferring data from client 85 to storage devices 115. Such a system and elements thereof are exemplary of a modular backup system such as the CommVault® QiNetix system, and also the CommVault GALAXY® backup system, available from CommVault Systems, Inc. of Oceanport, N.J., and further described in U.S. Pat. Nos. 7,035,880 and 7,620,710 each of which is incorporated herein by reference in its entirety.

A storage operation cell, such as cell 50, may generally include combinations of hardware and software components associated with performing storage operations on electronic data. Exemplary storage operation cells according to embodiments of the invention may include, CommCells as embodied in the QNet storage management system and the QiNetix storage management system by CommVault Systems of Oceanport, N.J. According to some embodiments of the invention, storage operation cell 50 may be related to backup cells and provide some or all of the functionality of backup cells as described in U.S. Pat. No. 7,395,282, which is also incorporated by reference in its entirety. It should be noted, however, that in certain embodiments, storage operation cells may perform additional types of storage operations and other types of storage management functions that are not generally offered by backup cells.

Turning now to FIG. 3, a diagram is provided illustrating an example SAN system 200 implemented in accordance with certain embodiments of the present invention. The illustrated system 200 includes a first SAN 203, a second SAN 209, and a SAN host 206. The first SAN 203, using SAN connections 212, connects SAN clients 218 together and connects the SAN clients 218 to the SAN host 206. A SAN client is any sort of computing device trying to access a SAN storage device. In the illustrated embodiment, the SAN clients 218 are desktop computers. Depending on embodiment, the SAN client 218 may be operating a media agent that controls one or more input/output (I/O) devices such as a host bus adapter (HBA) or other communication link for transferring data over SAN connections 212 on the first SAN 203. For example, the SAN client 218 may be connected to the first SAN 203 using a Fiber Channel HBA and a Fiber Channel connection. Using SAN connections 212, a SAN client 218 on the first SAN 203 may, for example, transfer data to and from a SAN storage device on the first SAN 203 or on another SAN (e.g., second SAN 209). For instance, the SAN client 218 may transfer data over the first SAN 203 and through the SAN connections 212, to the second SAN 209 via the illustrated SAN host 206.

It should be noted that references herein to data transfers should be understood to involve such storage operations as file creation, file deletion, file read, and file write. Additionally, one of ordinary skill in the art would understand and appreciate that data transfers described herein can be readily facilitated by other means of data operations in addition to just file operations (such as database operations).

Continuing with reference to FIG. 3, SAN host 206 is shown comprising a first host bus adapter (HBA) 230, which enables connections to SAN clients 218 through the first SAN 203, and a second host bus adapter (HBA) 233, which enables connections to SAN storage devices 221 via the second SAN 209. In the illustrated configuration, the first SAN 203 and the second SAN 209 are isolated from one another, thereby allowing the SAN host 206 to manage and control (e.g., arbitrate) shared access of the SAN storage devices 221 by the SAN clients 218. Both the first host bus adapter 230 and the second host bus adapter 233 could utilize different types of bus technologies to facilitate communication over their respective SANs. For example, either the first host bus adapter 230 or the second host bus adapter 233 may utilize such network technologies as Fiber Channel (FC), InfiniBand, Internet Small Computer System Interface (iSCSI), HyperSCSI, and Serial Attached SCSI (SAS). The first host bus adapter 230 or the second host bus adapter may simply be a traditional network interface, which allows such technologies as Internet Small Computer System Interface (iSCSI), Fiber Channel over Ethernet (FCoE), and ATA over Ethernet (AoE) to be utilized by SAN host 206 over the SANs.

As illustrated, the second SAN 209 connects SAN storage devices 221 together using SAN connections 215, and connects those SAN storage devices 221 to the SAN host 206. Similar to SAN clients 218, the SAN storage devices 221 may control one or more input/output (I/O) devices, such as HBAs or other communication links, that allow them to connect to the second SAN 209. The SAN storage devices 221 may use, for example, Fiber Channel HBA to connect to the second SAN 209. Using a SAN connection 215, a SAN storage device 221 may, for example, transfer data to and from a SAN client on the second SAN 209 or on another SAN (e.g., first SAN 203). For instance, the SAN storage device 218 may transfer data over the second SAN 209 to the second SAN 209 via the illustrated SAN host 206.

In some embodiments, the SAN host 206 operates as a conduit through which SAN clients 218, which may or may not be connected to a traditional network (e.g., LAN), can share access to one or more SAN storage devices 221 on a second SAN 209 over a first SAN 203. By doing so, such embodiments not only provide the SAN clients 218 shared data access to the SAN storage devices, but also provide such shared access without having to utilize a traditional network (e.g., LAN or WAN) or having the data leave a SAN. In effect, this allows sharing of bandwidth-intensive data to remain on the SAN without burdening the SAN clients traditional network (e.g., LAN or WAN).

The SAN host 206 may also function as a manager of storage operations, managing the blocks of data on one or more SAN storage devices. As manager, the SAN host 206 may also manage what storage operations are to be performed on SAN storage devices in response to a storage operation request from a SAN client. For example, SAN host 206 may include components that allow it to determine whether a storage operation should be performed on the SAN storage devices, and when a storage operation should be performed on the SAN storage devices. This management functionality may be utilized when, for example, two or more SAN clients are sharing access to a shared SAN storage device, and the SAN clients request concurrent access to the shared SAN storage device or pool, concurrent access to the same data on the shared SAN storage device, or concurrent access to the same allocation of storage space on the shared SAN storage. In further examples, this concurrent access may be to a pool of SAN storage devices rather than just a single SAN storage device. As such, the SAN host 206 may allow for concurrent shared access to one or more SAN storages devices while preventing deadlocks.

The management functionality of the SAN host 206 may also allow arbitration of two or multiple storage operation requests that arrive at relatively the same time, deciding which storage operation should be performed first, for example, based on such parameters as priority of the storage operation request.

Additionally, as part of data management functionality, the SAN host 206 may function to track and maintain one or more SAN storage devices as a pool of (SAN) storage resources (i.e., storage pool). In doing so, SAN host 206 may be allowed to, for example, dynamically provision (i.e., allocate) storage space from the pool for a given SAN client. For example, if the SAN host 206 were managing a pool of SAN storage resources totaling 5 TB in free space, and three SAN clients request 1 TB each of storage space, rather than statically reserving 1 TB of space within the pool to each of the SAN clients, the SAN host 206 can make a dynamic allocation of 1 TB to each of the SAN clients. In doing so, the SAN host is capable of growing a SAN client's storage space allocation as requested (i.e., on-demand).

Further, by managing the SAN storage devices as a pool of SAN storage resources, the SAN host 206 can readily manage the addition of new SAN storage devices to the pool, thereby allowing the pool to grow dynamically. Specifically, the storage pool may allow the SAN host 206 to dynamically add or remove one or more SAN storage devices (e.g., 221) from the pool, thereby increasing or decreasing the overall pool size, at times without the SAN clients even being made aware of such changes. It should be noted that, for some embodiments, the SAN host 206 is capable of managing and presenting dynamically allocated storage spaces as Logical Unit Numbers (LUNs).

In some embodiments, the dynamic (e.g., on-demand) provisioning (i.e., allocation) of storage space on the pool of SAN storage resources and the tracking and maintenance of the pool may be tied into the management function. For example, if a SAN client is writing to the shared pool of SAN storage resources and the pool reaches its capacity, the arbitrator could deny performance of the SAN client's storage write request.

In some embodiments, the SAN host 206 may manage the pool of SAN storage resources by way of a data repository (i.e., data store), which assists in the tracking and maintenance of the pool (e.g., tracking free storage space, tracking occupied storage space) and the allocation of storage space to SAN clients. In the illustrated embodiment, the tracking and maintenance of the pool of SAN storage resources (and, thus, the SAN storage devices 1) by the SAN host 206 is facilitated through data repository 236. Depending on the embodiment, the data repository 206 may be implemented as a data store, such as a database. Additionally, SAN host 206 may utilize the data repository 206 to manage data blocks within the storage pool. For example, management of data block may entail tracking ownership of data blocks to specific SAN clients, tracking storage of file data blocks that span multiple SAN storage devices (e.g., 221), tracking assignment of data blocks to specific allocated storage space, tracking occupied storage space within the storage pool, and tracking free storage space within the storage pool.

Through data repository 236, SAN host 206 can not only track dynamic provisioning and allocation of storage space within the storage pool to individual computing devices but, depending on the embodiment, can also dynamically add and remove SAN storage devices 1 from the storage pool. For example, when new SAN storage device is added to the second SAN 209, the SAN host 206 can add the new SAN storage device to the its storage pool. In some such embodiments, the SAN host 206 may perform the discovery and addition of the SAN storage device 242 to the pool automatically upon the addition of the SAN storage device 242 to the second SAN 209. For example, SAN host 206 may be configured to actively monitor the second SAN 209 for the addition of any new SAN storage devices, and add any such SAN storage device to the storage pool.

The SAN host 206 further comprises a server component 227. In some embodiments, the server component 227 is responsible for listening to and responding to storage operation requests it receives from the SAN clients 218. For example, the server component 227 may receive a file read, file write, file create, file delete storage operation request from a SAN client 218 and, in response, perform a corresponding storage operation on a SAN storage device 221 and may send a response back to the SAN client, depending on the storage operation request. According to embodiments that manage the SAN storage devices 221 as a pool of SAN storage resources, the corresponding storage operation may involve the server component 227 performing the storage operations on two or more SAN storage devices 221 within the storage pool. For example, the data blocks of a file involved in an operation may span three SAN storage devices 221 and, hence, in order to operate on the file, the SAN host 206 must perform a storage operation on those three SAN storage devices 221.

In some embodiments, the server component may also be configured to implement data de-duplication operations on the SAN storage devices 1, thereby increasing the over storage capacity of the SAN storage devices 1. For example, in particular embodiments, the data de-duplication may be implemented in the server component such that de-duplication is transparent to the SAN clients 218 jointly accessing the SAN storage devices 218. According to one embodiment, the deduplication may be facilitated through a hash table or other reference table that resides on the SAN host 206. The table references data that is shared amongst the SAN storage devices 221 managed by the SAN host 206. When the SAN host 206 is transferring data to the SAN storage devices 221, the SAN host 206 can use the table in a deduplication algorithm to determine if a data segment already exists on a SAN storage device 221. When it determines a copy already exists, the SAN host 206 may use the reference to an allocation of an existing copy of the data segment in place of the actual segment of data. Other de-duplication methodologies may be also employed by SAN host 206.

In some embodiments, when a client has data to transfer to or place in the shared storage, that client can run a deduplication algorithm on segments of the data and use its own representative instantiation of the reference table to determine whether the data segments already exist in a shared data store. Accordingly, for a given segment, the client can determine whether to send the entire data segment to the shared storage or just send a reference or pointer or other information from the reference table if the segment is duplicative of what is already in the data store. In a situation where the analyzed segment is not in the data store, the client device can send the hash value or other reference table information to the central storage (or other location maintaining the main reference table) so that the primary reference table can be updated with the information on the newly added segment.

Though not illustrated, the SAN clients 218 may comprise a client component that interfaces and interacts with the server component 227 of the SAN host 206 over the first SAN 203. For some embodiments, such a client component allows for seamless and transparent control of storage operations on the SAN storage devices 221 through the SAN host 206. For example, in some embodiments, the client component is able to receive file operation function calls through an application program interface (API), and then translate those function calls into storage operation requests for the SAN host 206 to perform. In this manner, the API encapsulates interactions between the client component and the server component, leaving the SAN client 218 unaware of the implementation of the SAN storage solution. Indeed, for some embodiments, the pool of SAN storage resources (e.g., SAN storage devices 221) appears as a traditional SAN storage device/resource. In this way, some embodiments of the present invention can readily integrate into existing SAN implementations with minimal to no change to the SAN implementation.

FIG. 4 provides an example sequence of interactions 300 between entities of a SAN in accordance with one embodiment of the present invention. Turning now to FIG. 4, the sequence begins with the establishment 312 of a Storage Area Network (SAN) connection between a SAN client 303 and a SAN host 306 over a first SAN, and the establishment 315 of a SAN connection between the SAN host 306 and a SAN storage device 309 over a second SAN. Once the connections are established, SAN client 303 performs a storage operation through an API function call. In some embodiments, the function call 321 instructs a client component residing on the SAN client 303 to transmit 324 to the SAN host 306 a storage operation request corresponding to the API function call 1. The client component thereby performs a storage operation request on behalf of the SAN client 303. Additionally, by instructing the client component through the API function call 32], the interactions between the SAN client 303 and SAN host 306 are encapsulated by the API. This eases integration of some embodiments into existing SANs.

Upon receiving the request from the SAN client 303, the SAN host 306 responds to the request, generally by sending one or more requests 327 to the SAN storage device 309 over a second SAN, which may invoke one or more responses 328 from the SAN storage device 309.

Subsequently, SAN host 306 may respond 330 to the SAN client 303 based on the response 328 from the SAN storage device 309 or the original request 324 from the SAN client. For example, where the SAN client 303 instructs its client component to perform a file read operation through an API, the client component would translate the instruction to a file read storage operation request, which is subsequently sent to the SAN host 306 (e.g., 321). The SAN host 306, in response to the file read storage operation request (e.g., 324), requests a file read operation from the SAN storage device 309 (e.g., 327), receives the file read data from the SAN storage device 309 (e.g., 328), and transmits that file read data back to the SAN client (330) in response to the original request (e.g., 324). In some embodiments, other storage operations, such as file writes, file creates, and file deletes, could have similar interaction flow.

Returning to Figure in some embodiments, the system 200 of FIG. 3 may be implemented into storage operation cell 50 of FIG. 2. For example, in one embodiment, system 200 could be implemented such that: the client 85 would operate as one of the SAN clients 218 of FIG. 3; the data agent 95 would operate as the client component that interfaces with SAN host 206 over a first SAN; the storage manager 100, media agents 105, and host bus adapters (HBAs) 133 would collectively operate as SAN host 206 of FIG. 3, where the storage manager 100 in conjunction with the media agents 105 would operate as the server component 227 of FIG. 3, and the HBAs 133 would operate as multiple second host bus adapters (233) of FIG. 3; and storage devices 115 would operate as the SAN storage devices communicating with the HBAs 133 over a second SAN.

FIGS. 5A and 5B provides flowcharts of example methods in accordance with embodiments of the present invention. Specifically, FIG. 5A provides a flowchart of method 400 of storage discovery operation in accordance with an embodiment of the present invention, while FIG. 5B provides a flowchart of a method 450 for performing a general file storage operation in another embodiment of the present invention.

Turning now to FIG. 5A, method 400 begins as operation 403 with a SAN client 218, 303) performing a discovery function call through an API. This causes the SAN client to send a discovery request to a SAN host at operation 406. Depending on the embodiment, when the discovery function call is executed in operation 403, the API may instruct a client component residing on the SAN client to transmit a discovery request to the SAN host in operation 406.

The SAN host, upon receiving the discovery request, may send a discovery response back to the client at operation 409. Through the discovery response, the SAN host may, for example, inform the client of its storage features or capabilities (e.g., available storage space, total storage space, occupied storage space). Additionally, some embodiments may respond to the client such that the SAN host appears as a traditional SAN storage device. Alternatively, in embodiments such as method 400, the client may interpret the discovery response from the SAN host (at operation 409) to be one from a traditional SAN storage device.

In alternative embodiments, the client, upon discovering the existence of the SAN host and acquiring its SAN identifier (e.g., World Wide Name for a Fiber Channel SAN), can send a discover request to the host bus adapter of the SAN host. The SAN host, in response informs the client regarding aspects of its storage, such as free storage space and occupied space.

Turning now to FIG. 5B, method 450 for performing a general file operation in accordance with an embodiment is presented. Similar to method 400, method 450 begins as operation 453 with a SAN client (e.g., 218, 303) performing a file operation function call through an API, which causes the SAN client to send a file operation request to a SAN host at operation 456. In some embodiments, when the file operation function call is executed in operation 453, the API instructs a client component residing on the SAN client to transmit the file operation request to the SAN host in operation 456.

At operation 459, method 450 continues with the SAN host arbitrating if, when, and how the SAN host will perform the requested file operation. Based on the results of the operation 459, the method 450 may then send a response to the client at operation 462. For example, the client may be requesting a file write to the SAN storage device, but may have already exhausted its storage space allocation. As a result, the SAN host, functioning as arbitrator, may deny the client its file write request and, accordingly, send the client a file write denial (e.g., at operation 462). Other embodiments may involve additional data operations (e.g., file reads, file creation, file deletion).

As used herein, the term module might describe a given unit of functionality that can be performed in accordance with one or more embodiments of the present invention. As used herein, a module might be implemented utilizing any form of hardware, software, or a combination thereof. For example, one or more processors, controllers, ASICs, PLAs, logical components, software routines or other mechanisms might be implemented to make up a module. In implementation, the various modules described herein might be implemented as discrete modules or the functions and features described can be shared in part or in total among one or more modules. In other words, as would be apparent to one of ordinary skill in the art after reading this description, the various features and functionality described herein may be implemented in any given application and can be implemented in one or more separate or shared modules in various combinations and permutations. Even though various features or elements of functionality may be individually described or claimed as separate modules, one of ordinary skill in the art will understand that these features and functionality can be shared among one or more common software and hardware elements, and such description shall not require or imply that separate hardware or software components are used to implement such features or functionality.

Where components or modules of the invention are implemented in whole or in part using software, in one embodiment, these software elements can be implemented to operate with a computing or processing module capable of carrying out the functionality described with respect thereto. One such example-computing module is shown in FIG. 6. Various embodiments are described in terms of this example-computing module 500. After reading this description, it will become apparent to a person skilled in the relevant art how to implement the invention using other computing modules or architectures.

Referring now to FIG. 6, computing module 500 may represent, for example, computing or processing capabilities found within desktop, laptop and notebook computers; hand-held computing devices (PDA's, smart phones, cell phones, palmtops, etc.); mainframes, supercomputers, workstations or servers; or any other type of special-purpose or general-purpose computing devices as may be desirable or appropriate for a given application or environment. Computing module 500 might also represent computing capabilities embedded within or otherwise available to a given device. For example, a computing module might be found in other electronic devices such as, for example, digital cameras, navigation systems, cellular telephones, portable computing devices, modems, routers, WAPs, terminals and other electronic devices that might include some form of processing capability.

Computing module 500 might include, for example, one or more processors, controllers, control modules, or other processing devices, such as a processor 504. Processor 504 might be implemented using a general-purpose or special-purpose processing engine such as, for example, a microprocessor, controller, or other control logic. In the example illustrated in FIG. 6, processor 504 is connected to a bus 502, although any communication medium can be used to facilitate interaction with other components of computing module 500 or to communicate externally.

Computing module 500 might also include one or more memory modules, simply referred to herein as main memory 508. For example, preferably random access memory (RAM) or other dynamic memory might be used for storing information and instructions to be executed by processor 504. Main memory 508 might also be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 504. Computing module 500 might likewise include a read only memory (“ROM”) or other static storage device coupled to bus 502 for storing static information and instructions for processor 504.

The computing module 500 might also include one or more various forms of information storage mechanism 510, which might include, for example, a media drive 512 and a storage unit interface 520. The media drive 512 might include a drive or other mechanism to support fixed or removable storage media 514. For example, a hard disk drive, a floppy disk drive, a magnetic tape drive, an optical disk drive, a CD or DVD drive (R or R W), or other removable or fixed media drive might be provided. Accordingly, storage media 514, might include, for example, a hard disk, a floppy disk, magnetic tape, cartridge, optical disk, a CD or DVD, or other fixed or removable medium that is read by, written to or accessed by media drive 512. As these examples illustrate, the storage media 514 can include a computer usable storage medium having stored therein computer software or data.

In alternative embodiments, information storage mechanism 510 might include other similar instrumentalities for allowing computer programs or other instructions or data to be loaded into computing module 500. Such instrumentalities might include, for example, a fixed or removable storage unit 522 and an interface 520. Examples of such storage units 522 and interfaces 520 can include a program cartridge and cartridge interface, a removable memory (for example, a flash memory or other removable memory module) and memory slot, a PCMCIA slot and card, and other fixed or removable storage units and interfaces 520 that allow software and data to be transferred from the storage unit to computing module 500.

Computing module 500 might also include a communications interface 524. Communications interface 524 might be used to allow software and data to be transferred between computing module 500 and external devices. Examples of communications interface 524 might include a modem or softmodem, a network interface (such as an Ethernet, network interface card, Wi Media, IEEE 802.XX or other interface), a communications port (such as for example, a USB port, IR port, RS232 port Bluetooth® interface, or other port), or other communications interface. Software and data transferred via communications interface 524 might typically be carried on signals, which can be electronic, electromagnetic (which includes optical) or other signals capable of being exchanged by a given communications interface 524. These signals might be provided to communications interface 524 via a channel 528. This channel 528 might carry signals and might be implemented using a wired or wireless communication medium. These signals can deliver the software and data from memory or other storage medium in one computing system to memory or other storage medium in computing system 500. Some examples of a channel might include a phone line, a cellular link, an RF link, an optical link, a network interface, a local or wide area network, and other wired or wireless communications channels.

In this document, the terms “computer program medium” and “computer usable medium” are used to generally refer to physical storage media such as, for example, memory 508, storage unit 520, and media 514. These and other various forms of computer program media or computer usable media may be involved in storing one or more sequences of one or more instructions to a processing device for execution. Such instructions embodied on the medium, are generally referred to as “computer program code” or a “computer program product” (which may be grouped in the form of computer programs or other groupings). When executed, such instructions might enable the computing module 500 to perform features or functions of the present invention as discussed herein.

While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not of limitation. Likewise, the various diagrams may depict an example architectural or other configuration for the invention, which is done to aid in understanding the features and functionality that can be included in the invention. The invention is not restricted to the illustrated example architectures or configurations, but the desired features can be implemented using a variety of alternative architectures and configurations. Indeed, it will be apparent to one of skill in the art how alternative functional, logical or physical partitioning and configurations can be implemented to implement the desired features of the present invention. Also, a multitude of different constituent module names other than those depicted herein can be applied to the various partitions. Additionally, with regard to flow diagrams, operational descriptions and method claims, the order in which the steps are presented herein shall not mandate that various embodiments be implemented to perform the recited functionality in the same order unless the context dictates otherwise.

Although the invention is described above in terms of various exemplary embodiments and implementations, it should be understood that the various features, aspects and functionality described in one or more of the individual embodiments are not limited in their applicability to the particular embodiment with which they are described, but instead can be applied, alone or in various combinations, to one or more of the other embodiments of the invention, whether or not such embodiments are described and whether or not such features are presented as being a part of a described embodiment. Thus, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments.

Terms and phrases used in this document, and variations thereof, unless otherwise expressly stated, should be construed as open ended as opposed to limiting. As examples of the foregoing: the term “including” should be read as meaning “including, without limitation” or the like; the term “example” is used to provide exemplary instances of the item in discussion, not an exhaustive or limiting list thereof; the terms “a” or “an” should be read as meaning “at least one,” “one or more” or the like; and adjectives such as “conventional,” “traditional,” “normal,” “standard,” “known” and terms of similar meaning should not be construed as limiting the item described to a given time period or to an item available as of a given time, but instead should be read to encompass conventional, traditional, normal, or standard technologies that may be available or known now or at any time in the future. Likewise, where this document refers to technologies that would be apparent or known to one of ordinary skill in the art, such technologies encompass those apparent or known to the skilled artisan now or at any time in the future.

The presence of broadening words and phrases such as “one or more,” “at least,” “but not limited to” or other like phrases in some instances shall not be read to mean that the narrower case is intended or required in instances where such broadening phrases may be absent. The use of the term “module” does not imply that the components or functionality described or claimed as part of the module are all configured in a common package. Indeed, any or all of the various components of a module, whether control logic or other components, can be combined in a single package or separately maintained and can further be distributed in multiple groupings or packages or across multiple locations.

Additionally, the various embodiments set forth herein are described in terms of exemplary block diagrams, flow charts and other illustrations. As will become apparent to one of ordinary skill in the art after reading this document, the illustrated embodiments and their various alternatives can be implemented without confinement to the illustrated examples. For example, block diagrams and their accompanying description should not be construed as mandating a particular architecture or configuration. 

What is claimed is:
 1. A storage area network (SAN) client, comprising: a client component comprising one or more computer processors; and a host bus adapter configured to be connected to a SAN host over a first SAN, wherein the client component is configured to: receive from the SAN client a request to perform a first storage operation on a SAN storage device; translate the first storage operation to a SAN host storage operation request; and send the SAN host storage operation request to the SAN host over the first SAN, wherein the SAN host is configured to receive the storage operation request, and in response to the storage operation request, perform a second storage operation on the SAN storage device over a second SAN.
 2. The SAN client of claim 1 wherein the host bus adapter connects to the SAN host over the first SAN using Fiber Channel (FC), InfiniBand, or Serial Attached SCSI (SAS).
 3. The SAN client of claim 1 wherein the host bus adapter is in initiator mode.
 4. The SAN client of claim 1 wherein the first storage operation or the second storage operation is a file read, a file write, a file create, or a file delete operation.
 5. The SAN client of claim 1 wherein the first storage operation is a discovery request.
 6. The SAN client of claim 5 wherein the client component is further configured to: receive a discovery response from the SAN host indicating that the SAN host is a traditional SAN storage device; and interpret the discovery response.
 7. The SAN client of claim 1 wherein the client component receives the request to perform first storage operation through an application program interface (API) function call.
 8. A method of operating a storage area network (SAN) client, comprising: receiving with a client component of a SAN client a request to perform a first storage operation on a SAN storage device; translating with one or more processors of the client component the first storage operation to a SAN host storage operation request; and electronically sending the SAN host storage operation request to the SAN host over the first SAN, wherein the SAN host is configured to receive the storage operation request, and in response to the storage operation request, perform a second storage operation on the SAN storage device over a second SAN.
 9. The method of claim 8 wherein the host bus adapter connects to the SAN host over the first SAN using Fiber Channel (FC), InfiniBand, or Serial Attached SCSI (SAS).
 10. The method of claim 8 wherein the host bus adapter is in initiator mode.
 11. The method of claim 8 wherein the first storage operation or the second storage operation is a file read, a file write, a file create, or a file delete operation.
 12. The method of claim 8 wherein said receiving is through an application program interface (API) function call.
 13. The method of claim 8 wherein the first storage operation is a discovery request.
 14. The method of claim 13 further comprising: with the client component, receiving a discovery response from the SAN host indicating that the SAN host is a traditional SAN storage device; and interpreting the discovery response with one or more processors of the client component. 